import request from "@/utils/request";
import { getToken } from "@/utils/localToken";

export async function queryUserInfo(): Promise<any> {
	const token = getToken();
	return request({
		url: `/admin/getInfo?token=${token}`,
		method: "get",
	});
}
